package com.raymond.run;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
/**
 * @Description: 启动类
 * @Author: yc
 * @CreateDate: 2019/2/18$ 16:24$
 * @Version: 1.0
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.raymond"})
@MapperScan("com.raymond.mapper")
@EnableCaching
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
